package com.brk.socket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author brk
 * @date 2023/7/13 19:09
 * @description
 */
@Data
@TableName("location")
public class LocationDO {

    @TableField("polyX")
    private String polyX;
    @TableField("polyY")
    private String polyY;

    @TableId(type = IdType.AUTO)
    private Integer id;

    public LocationDO(String polyX, String polyY) {
        this.polyX = polyX;
        this.polyY = polyY;
    }

    public LocationDO() {
    }


}
